package com.njtoyo.taxi.admin.mongo.repository.primary;

import com.njtoyo.taxi.admin.mongo.entity.primary.CallRouteMongo;
import com.njtoyo.taxi.admin.mongo.entity.primary.CouponMongo;
import com.njtoyo.taxi.admin.mongo.entity.primary.DriverWithDrawConfigMongo;
import com.njtoyo.taxi.admin.rest.presenter.finance.vo.FinanceAllowanceCouponMongoStatsVo;
import org.bson.types.ObjectId;
import org.springframework.data.mongodb.repository.Aggregation;
import org.springframework.data.mongodb.repository.MongoRepository;

import java.util.List;

public interface CallRouteMongoRepository extends MongoRepository<CallRouteMongo, ObjectId> {

    CallRouteMongo findByCallIdAndIsRealtime(Long callId, Boolean isRealtime);

}
